"TEXT 1"="Connect to Information Store (IS) on startup"
"TEXT 2"="Try to bundle small TCP/IP packets"
"DESCRIPTION 1"="Option 1 controls if MMQS should automatically connect to it's Information Store if the computer is started. If the computer is connected using RAS, this can lead to a dial access as soon as the computer is started."
"DESCRIPTION 2"="Options 2 controls if MMQS should wait when a small package is about to be send for some time if another package is about to be send so both can be bundled. If the option is deactivated, MMQS does not wait which results in faster transport but also higher network utilization."
"DESCRIPTION 3"="NOTE: These settings require NT SP6, W2K or XP to work."
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COMMENT 1"=" "
sP="HKLM\Software\Microsoft\MSMQ\Parameters\"
sV1="DeferredInit"
sV2="TcpNoDelay"
SUB Plugin_Initialize
if RegPathExists(sP) then
i=RegReadValue(sP & sV1)
if IsEmpty(i)=true or i=0 then SetUiElement 1,true
i=RegReadValue(sP & sV2)
if IsEmpty(i)=true or i=0 then SetUiElement 2,true
else
Disable
end if
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sp & sv1,0,2)
else
Call RegWriteValue(sp & sv1,1,2)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sp & sv2,0,2)
else
Call RegWriteValue(sp & sv2,1,2)
end if
END SUB
'Called when the Plugin is about to be removed from memory